package com.tanhua.dubbo.server.api;




import com.tanhua.dubbo.server.enums.AccountrState;
import com.tanhua.dubbo.server.enums.FreezingRangeEnum;

public interface ManageFreezeApi {


    /**
     * 用户冻结
     *
     * @return
     */

    Boolean isAccountState(Integer userId,FreezingRangeEnum freezingRangeEnum);

    Boolean manageFreeze(Integer userId, Integer freezingTime, Integer freezingRange, String reasonForFreezing, String forzenRemarks, AccountrState accountrState);


    /**
     * 用户解冻
     *
     * @return
     */
    Boolean manageUnfreeze(Integer userId, String reasonsForThawing, AccountrState  accountrState);



}
